package ooday01;

public class Car {
    String brand;
    String color;
    double price;
    int capacity;
    char aaa;
    Car(){

    }
    Car(String brand, String color, double price, int capacity , char aaa) {
        this.brand = brand;
        this.color = color;
        this.price = price;
        this.capacity = capacity;
        this.aaa = aaa;
    }
    void start(){
        System.out.println(this.color+"色的"+this.brand+"花了"+this.price+"块钱的"+this.capacity+"座车启动了");
    }

    void run(){
        System.out.println(this.color+"色的"+this.brand+"花了"+this.price+"块钱的"+this.capacity+"座车跑起来了");
    }

    void stop(){
        System.out.println(this.color+"色的"+this.brand+"花了"+this.price+"块钱的"+this.capacity+"座车停止了了"+aaa);
    }

}
